gtk4.git
16 years agoFix a typo
Matthias Clasen [Fri, 7 Aug 2009 03:44:00 +0000 (23:44 -0400)]
Fix a typo

This was reported in bug 586347.

16 years agoUpdate tooltip if no removable one is selected
Pascal Terjan [Fri, 31 Jul 2009 16:27:51 +0000 (18:27 +0200)]
Update tooltip if no removable one is selected

16 years agoBug 590959 - Set child_has_focus flag properly
Benjamin Otte [Thu, 6 Aug 2009 14:25:20 +0000 (16:25 +0200)]
Bug 590959 - Set child_has_focus flag properly

Previously, this flag wasn't cleared properly when the notebook lost
focus, but only when the notebook was focussed again later.
As this flag is only used to advance correctly focus pages by grabbing
focus to the new page after switching the page, this is not good.
In particular, it can cause a focus grab when programmatically switching
the notebook page and the focus is inside a completely different widget.

16 years agoCheck for details request before print
Marek Kasik [Thu, 6 Aug 2009 07:11:31 +0000 (09:11 +0200)]
Check for details request before print

Checks for details request before sending a job to a printer.
Shows busy state indication (cursor + status field).
This avoids printing to wrong printer (bug #576601).

16 years agoGet default cover sheets from each printer separately
Marek Kasik [Wed, 5 Aug 2009 08:34:27 +0000 (10:34 +0200)]
Get default cover sheets from each printer separately

Fixes bug #590309.
Add default_cover_before string and default_cover_after string
to GtkPrinterCups and fill it when getting list of printers.

16 years agoUpdated Spanish translation
Jorge González [Tue, 4 Aug 2009 17:31:33 +0000 (19:31 +0200)]
Updated Spanish translation

16 years agoUpdated Spanish translation
Jorge González [Tue, 4 Aug 2009 17:31:27 +0000 (19:31 +0200)]
Updated Spanish translation

16 years agoUpdating Estonian translation
Ivar Smolin [Tue, 4 Aug 2009 07:23:58 +0000 (10:23 +0300)]
Updating Estonian translation

16 years agoUpdating Estonian translation
Ivar Smolin [Mon, 3 Aug 2009 17:48:29 +0000 (20:48 +0300)]
Updating Estonian translation

16 years agoAdd SVG support to GtkPrintBackendFile
Marek Kasik [Mon, 3 Aug 2009 09:25:19 +0000 (11:25 +0200)]
Add SVG support to GtkPrintBackendFile

This add support for printing to SVG 1.2 files (#357655).

16 years agoUpdated breton translation
Denis Arnaud [Fri, 31 Jul 2009 23:26:38 +0000 (01:26 +0200)]
Updated breton translation

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sun, 2 Aug 2009 22:21:24 +0000 (00:21 +0200)]
Updated Norwegian bokmål translation.

16 years agoMake gdk-pixbuf-csource work on Windows also in the build tree.
Sam Thursfield [Sun, 2 Aug 2009 07:40:13 +0000 (10:40 +0300)]
Make gdk-pixbuf-csource work on Windows also in the build tree.

Patch from bug #590448.

16 years agoFix configure.in to work without --with-gdktarget on non-X11.
Sam Thursfield [Sun, 2 Aug 2009 07:32:47 +0000 (10:32 +0300)]
Fix configure.in to work without --with-gdktarget on non-X11.

Patch from bug #590086.

16 years agoUpdating Estonian translation
Ivar Smolin [Sun, 2 Aug 2009 06:39:18 +0000 (09:39 +0300)]
Updating Estonian translation

16 years agoUpdated Brazilian Portuguese translation.
Leonardo Ferreira Fontenelle [Sun, 2 Aug 2009 04:27:31 +0000 (01:27 -0300)]
Updated Brazilian Portuguese translation.

16 years agoAdd stubs for missing GDK windowing functions to Quartz backend
Kristian Rietveld [Fri, 31 Jul 2009 19:22:54 +0000 (21:22 +0200)]
Add stubs for missing GDK windowing functions to Quartz backend

This seems to more or less fix the build.  On Tiger there are still issues
with libresolv missing on the link line, I will figure out what's up with
that soonish.

16 years agoupdated hebrew translation
Yaron Sharabani [Fri, 31 Jul 2009 14:25:36 +0000 (17:25 +0300)]
updated hebrew translation

16 years agodocs: don't invent new docbook tags, it is <type> not <typename>
Stefan Kost [Fri, 31 Jul 2009 10:27:48 +0000 (13:27 +0300)]
docs: don't invent new docbook tags, it is <type> not <typename>

16 years agodocs: fix include by adding GtkLabel-links doc to expand_content_files
Stefan Kost [Fri, 31 Jul 2009 07:26:34 +0000 (10:26 +0300)]
docs: fix include by adding GtkLabel-links doc to expand_content_files

16 years agoBug 586374 – code does not follow documentation
Kristian Rietveld [Thu, 30 Jul 2009 19:23:47 +0000 (21:23 +0200)]
Bug 586374 – code does not follow documentation

Properly invalidate iterators in iter_next, iter_children,
iter_nth_child and iter_parent when FALSE is returned.  ListStore was
actually already mostly in order as the GSequence pointers are very
strictly checked, but to be a little stricter we've added stamp = 0
lines.  TreeStore did not invalidate its iterators, so stamp = 0 lines
were added where appropriate.  Unit tests have been added to check this.

Fixes bug 586374, reported by Mike Gemunde.

16 years agoBug 555109 – selection broken when typeahead active
Kristian Rietveld [Thu, 30 Jul 2009 18:22:45 +0000 (20:22 +0200)]
Bug 555109 – selection broken when typeahead active

gtk_tree_view_enter_notify() now "ignores" the synthesized crossing
events.  The synthesized crossing events always have (0, 0) as
coordinates, which messes things up.  This patch does not fix all issues,
at least it makes the behavior much more reasonable again.  Watch bug
555109 for further discussion on the issue.

16 years agoBug 573321 – additional check in gtk_tree_model_filter_convert_*
Kristian Rietveld [Thu, 30 Jul 2009 12:35:09 +0000 (14:35 +0200)]
Bug 573321 – additional check in gtk_tree_model_filter_convert_*

Added checks to see whether the passed iterators are not the same in
convert_child_iter_to_iter() and iter_to_child_iter() functions in both
the sort and filter models.

Fixes bug 573321, suggestion by Vadim Godunko.

16 years agoBug 539377 – Unnecessary warnings when GtkTreeView is not realized
Kristian Rietveld [Thu, 30 Jul 2009 12:17:00 +0000 (14:17 +0200)]
Bug 539377 – Unnecessary warnings when GtkTreeView is not realized

Adapt gtk_tree_view_get_path_at_pos() and
gtk_tree_view_get_drag_dest_row() to just return FALSE when bin_window
is NULL and not hit a warning.  Makes this case consistent with the tree
view not having a model.  Documentation has been updated to clarify
this, unit test has been added.

Fixes bug 539377, based on a patch by Bjorn Lindqvist.

16 years agoBug 498010, 546005 - fix assertion in gtk_tree_view_set_cursor_on_cell
Kristian Rietveld [Thu, 30 Jul 2009 11:58:25 +0000 (13:58 +0200)]
Bug 498010, 546005 - fix assertion in gtk_tree_view_set_cursor_on_cell

Instead of failing with warning on !tree_view->priv->tree, return
silently when tree_view->priv->model is NULL.  Clarified in the
documentation that for invalid paths (and every path is invalid when no
model is set), the function will fail silently although the current
cursor will be unset.

Fixes bugs 498010 and 546005.

16 years agoStart general GtkTreeView unit tests
Kristian Rietveld [Thu, 30 Jul 2009 11:54:30 +0000 (13:54 +0200)]
Start general GtkTreeView unit tests

Includes a test case for bug 546005 to start with, logic provided by
Paul Pogonyshev and Bjorn Lindqvist.  In the future, we should maybe
merge treeview-scrolling.c with this one to create one large monolithic
tree view tester.

16 years agoAllow disabling New Folder button in File Choser
Pascal Terjan [Tue, 28 Jul 2009 12:15:59 +0000 (14:15 +0200)]
Allow disabling New Folder button in File Choser

Bug #570516. Add a new property "create-folders" meaning that the
"New Folder" button should be displayed in the modes where it used
to be.

16 years agoCorrect a thinko
Matthias Clasen [Thu, 30 Jul 2009 13:07:37 +0000 (09:07 -0400)]
Correct a thinko

The xml way of saying %s is &percnt;s, not &amp;s.

16 years agoBug #514260 – Better filtering for "Recently Used" files
Emmanuele Bassi [Sat, 30 May 2009 11:43:28 +0000 (12:43 +0100)]
Bug #514260 – Better filtering for "Recently Used" files

Instead of refiltering the recently used files we should rebuild
the list altogether when the current GtkFileFilter changes; this
allows us to keep showing the maximum amount of recently used
files.

Fixes bug:

  http://bugzilla.gnome.org/show_bug.cgi?id=514260

16 years agoFix gdk_window_get_cursor() documentation
Emmanuele Bassi [Thu, 30 Jul 2009 10:10:45 +0000 (11:10 +0100)]
Fix gdk_window_get_cursor() documentation

The 'Return value' annotation is missing from the documentation
of gdk_window_get_cursor().

16 years agoAdd missing gdk_window_get_cursor to the GDK symbols
Emmanuele Bassi [Thu, 30 Jul 2009 10:10:22 +0000 (11:10 +0100)]
Add missing gdk_window_get_cursor to the GDK symbols

16 years agoRemove unused dirty iter discovery functions
Kristian Rietveld [Thu, 30 Jul 2009 10:00:12 +0000 (12:00 +0200)]
Remove unused dirty iter discovery functions

gtk_tree_view_discover_dirty_iter() and gtk_tree_view_discover_iter()
have been in the tree forever, but unused since 1.3.8 or so.  I guess we
no longer need them, so removed them.  Fixes a compiler warning as well.

16 years agoFix gtk_widget_get_allocation()
Michael Natterer [Thu, 30 Jul 2009 09:49:47 +0000 (11:49 +0200)]
Fix gtk_widget_get_allocation()

- add it to the header
- add the symbol to gtk.symbols
- fix coding style and check for allocation != NULL

16 years agoUpdating Estonian translation
Ivar Smolin [Thu, 30 Jul 2009 05:50:39 +0000 (08:50 +0300)]
Updating Estonian translation

16 years agoadd gdk_window_get_cursor()
Cody Russell [Thu, 16 Jul 2009 06:16:01 +0000 (01:16 -0500)]
add gdk_window_get_cursor()

16 years agoadd getter function for widget->allocation
Cody Russell [Thu, 30 Jul 2009 03:28:17 +0000 (22:28 -0500)]
add getter function for widget->allocation

Add gtk_widget_get_allocation() to retrieve a widget's allocation.
Needed as a step to enable GSEAL building.

This fixes bug #585211

16 years agoReport ATK_STATE_SHOWING only when all parents are visible
Alejandro Piñeiro Iglesias [Wed, 29 Jul 2009 03:55:53 +0000 (11:55 +0800)]
Report ATK_STATE_SHOWING only when all parents are visible

Bug #509650. Checks if all the predecesors (the parent widget,
his parent, etc) are visible. Only reports ATK_STATE_SHOWING when
all parents are visible.
Signed-off-by: Li Yuan <li.yuan@sun.com>
16 years agoUpdated breton translation
Jamy [Tue, 28 Jul 2009 11:46:41 +0000 (13:46 +0200)]
Updated breton translation

16 years agoUpdated breton translation
Jamy [Tue, 28 Jul 2009 11:45:35 +0000 (13:45 +0200)]
Updated breton translation

16 years agodocs: add missing <variablelist> tags
Stefan Kost [Tue, 28 Jul 2009 08:21:49 +0000 (11:21 +0300)]
docs: add missing <variablelist> tags

Fixes docbook validation for these files.

16 years agodocs: inline see_also to sections docs and add missing <variablelist>
Stefan Kost [Tue, 28 Jul 2009 08:20:22 +0000 (11:20 +0300)]
docs: inline see_also to sections docs and add missing <variablelist>

This fixes docbook validation for the file.

16 years agobgo#161489 - In the file chooser, let the left/right arrow keys switch focus between...
Federico Mena Quintero [Tue, 28 Jul 2009 00:24:42 +0000 (19:24 -0500)]
bgo#161489 - In the file chooser, let the left/right arrow keys switch focus between the file list and shortcuts

Based on a patch by Christian Neumair <cneumair@gnome.org>

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agoFrom the shortcuts pane, focus the GtkEntry and redirect unhandled keystrokes to it
Federico Mena Quintero [Mon, 27 Jul 2009 23:04:51 +0000 (18:04 -0500)]
From the shortcuts pane, focus the GtkEntry and redirect unhandled keystrokes to it

This lets us do this:

1. click on a folder in the shortcuts pane
2. start typing a filename

Then, the typed filename will actually go to the filename entry, like
the user expects.  (Or to the search entry, in case the user clicked
on the Search shortcut.)

Also, removed the obsolete callback that made "/" and "~" typed in the
shortcuts pane bring up the location entry.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agobgo#534462: Disable interactive search in the file chooser's shortcuts pane
Federico Mena Quintero [Mon, 27 Jul 2009 22:21:28 +0000 (17:21 -0500)]
bgo#534462: Disable interactive search in the file chooser's shortcuts pane

People often do this:
1. Bring up a SAVE dialog
2. Click on a folder in the shortcuts pane
3. Start typing a filename
4. Oops!  The interactive-search entry in the shortcuts pane appears.

With this, the shortcuts pane will not bring up the interactive-search entry.  Then it
will be clear that you are not typing in the right place.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agoUpdated Swedish translation
Daniel Nylander [Tue, 28 Jul 2009 00:22:30 +0000 (02:22 +0200)]
Updated Swedish translation

16 years ago_gdk_window_impl_new() on directfb
Cody Russell [Mon, 27 Jul 2009 20:39:28 +0000 (15:39 -0500)]
_gdk_window_impl_new() on directfb

16 years agoFix translation
Kjartan Maraas [Mon, 27 Jul 2009 14:36:56 +0000 (16:36 +0200)]
Fix translation

16 years agoImplement GdkDrawableImplWin32::draw_pixbuf
Hans Breuer [Sun, 26 Jul 2009 17:12:30 +0000 (19:12 +0200)]
Implement GdkDrawableImplWin32::draw_pixbuf

16 years agoUse G_DEFINE_TYPE (GdkDrawableImplWin32, ...)
Hans Breuer [Sun, 26 Jul 2009 17:10:13 +0000 (19:10 +0200)]
Use G_DEFINE_TYPE (GdkDrawableImplWin32, ...)

16 years agoSome cursor work for csw(win32), more left to do
Hans Breuer [Sun, 26 Jul 2009 17:08:49 +0000 (19:08 +0200)]
Some cursor work for csw(win32), more left to do

16 years agoEnable big_window bench on win32, dialog for everyone
Hans Breuer [Sun, 26 Jul 2009 17:05:45 +0000 (19:05 +0200)]
Enable big_window bench on win32, dialog for everyone

16 years agoFormatting and removing commented/obsolete code
Hans Breuer [Sat, 18 Jul 2009 14:24:02 +0000 (16:24 +0200)]
Formatting and removing commented/obsolete code

16 years agoBug 589336 – Add GtkTreeViewColumn:sort-column-id property
Philip Withnall [Sat, 25 Jul 2009 16:46:09 +0000 (17:46 +0100)]
Bug 589336 – Add GtkTreeViewColumn:sort-column-id property

Add the property, change notifications and documentation stubs.

16 years agoBump version
Matthias Clasen [Sat, 25 Jul 2009 03:51:47 +0000 (23:51 -0400)]
Bump version

16 years ago2.17.6
Matthias Clasen [Sat, 25 Jul 2009 03:49:37 +0000 (23:49 -0400)]
2.17.6

16 years agoUpdates
Matthias Clasen [Sat, 25 Jul 2009 02:52:21 +0000 (22:52 -0400)]
Updates

16 years agoFix cairo rendering on large subwindows
Alexander Larsson [Fri, 24 Jul 2009 19:41:37 +0000 (21:41 +0200)]
Fix cairo rendering on large subwindows

We get the real pixmap size and use as cairo surface size rather
than doing some magic to try to get clipping on the right hand size
(and the magic looks wrong anyway).

The previous code could result in the width/height being to big for
the cairo 28.4 fix point size and thus not drawing anything.

This fixes bug #588076.

16 years agoRemove both SHOWING and SELECTED states when menuitem is not visible
Li Yuan [Fri, 24 Jul 2009 08:23:57 +0000 (16:23 +0800)]
Remove both SHOWING and SELECTED states when menuitem is not visible

Bug #582674 and Bug #574674. Remove SHOWING state also.

16 years agoRemove ATK_STATE_SHOWING state when menuitem is not visible
Li Yuan [Fri, 24 Jul 2009 08:11:30 +0000 (16:11 +0800)]
Remove ATK_STATE_SHOWING state when menuitem is not visible

When the menu is not selected, remove ATK_STATE_SHOWING state. And
emit state change signal if the menu is selected/unselected.

16 years agoFix issues with resize handles
Matthias Clasen [Fri, 24 Jul 2009 04:45:34 +0000 (00:45 -0400)]
Fix issues with resize handles

The resize handles were not correctly redrawn and not positioned
correctly, initially.

16 years agoFix clipping of pixbuf drawing to windows
Alexander Larsson [Thu, 23 Jul 2009 19:53:46 +0000 (21:53 +0200)]
Fix clipping of pixbuf drawing to windows

When the fallback for gdk_draw_pixbuf (gdk_drawable_real_draw_pixbuf)
is called with a window destination we have already applied any clip
regions and offsets for the window, but the window we get is a wrapper
and not an impl. We have to ensure we really draw to the impl, as
otherwise the pixbuf drawing will be clipped by client side subwindows.

This fixes bug 588553.

16 years agoAvoid unnecessary indirect call
Alexander Larsson [Thu, 23 Jul 2009 19:52:32 +0000 (21:52 +0200)]
Avoid unnecessary indirect call

Call klass->draw_pixbuf directly inside gdk_window_draw_pixbuf
instead of gdk_draw_pixbuf to avoid doing all checks twice.

16 years agoUpdating Estonian translation
Ivar Smolin [Thu, 23 Jul 2009 16:08:44 +0000 (19:08 +0300)]
Updating Estonian translation

16 years agoUpdated Swedish translation
Daniel Nylander [Wed, 22 Jul 2009 12:23:31 +0000 (14:23 +0200)]
Updated Swedish translation

16 years agoUpdated Swedish translation
Daniel Nylander [Wed, 22 Jul 2009 11:51:09 +0000 (13:51 +0200)]
Updated Swedish translation

16 years agoSlightly updated grammer in migrating-GtkBuilder.sgml
Tristan Van Berkom [Tue, 21 Jul 2009 16:48:39 +0000 (12:48 -0400)]
Slightly updated grammer in migrating-GtkBuilder.sgml

Just fixes the previous patch concerning using Glade if
possible before resorting to gtk-builder-convert to have
better grammer.

16 years agoSuggesto to use Glade instead gtk-builder-convert script (GnomeBug:587337)
Javier Jardón [Mon, 20 Jul 2009 23:45:43 +0000 (01:45 +0200)]
Suggesto to use Glade instead gtk-builder-convert script (GnomeBug:587337)

* docs/reference/gtk/migrating-GtkBuilder.sgml

16 years agoBug 589275 – [csw] Trying to destroy NULL regions
Cody Russell [Tue, 21 Jul 2009 16:44:25 +0000 (11:44 -0500)]
Bug 589275 – [csw] Trying to destroy NULL regions

gdk_window_input_shape_combine_mask() can accept NULL for the mask
parameter, but it wasn't checking for NULL before passing the
resulting GdkRegion to gdk_region_destroy().  Fixes #589275

16 years agoRevert all handling of clip_region being unset for non-viewable windows
Alexander Larsson [Mon, 20 Jul 2009 21:18:41 +0000 (23:18 +0200)]
Revert all handling of clip_region being unset for non-viewable windows

This is now handled by explicitly setting it to empty for all non-viewable
windows.

This reverts these commits:
82e609c2a025224921908e3a0e7472256e7e1269
36861cf6088442bfe438be6b48a1b19c85c61a01
454160ad9e39e75d9c37dd43f445b8b3540bba57
7adf894a29d87ba85f0d27f71e2480caf53dae79
ed2c83757417a1ca19bb54f11b74c8fd93ef81c0

16 years agoSet clip region to empty for non-viewable windows
Alexander Larsson [Mon, 20 Jul 2009 21:15:34 +0000 (23:15 +0200)]
Set clip region to empty for non-viewable windows

This lets us avoid lots of viewable checks and still not waste
time computing clip regions for non-viewable windows

16 years agoMake gdk_window_begin/end_paint handle non-viewable windows
Alexander Larsson [Mon, 20 Jul 2009 20:36:02 +0000 (22:36 +0200)]
Make gdk_window_begin/end_paint handle non-viewable windows

These are updated to not read clip region is not viewable

16 years agoMake gdk_drawable_get_visible/clip_region handle the !viewable case
Alexander Larsson [Mon, 20 Jul 2009 20:30:48 +0000 (22:30 +0200)]
Make gdk_drawable_get_visible/clip_region handle the !viewable case

We can't access ->clip_region for these cases as its not yet calculated.

16 years agoCalculate clip region when window goes viewable
Alexander Larsson [Mon, 20 Jul 2009 20:19:35 +0000 (22:19 +0200)]
Calculate clip region when window goes viewable

Since we're no longer calculating clip regions for non-viewable windows
we need to calculate it when it goes viewable.

16 years agoUpdated Spanish translation
Jorge González [Mon, 20 Jul 2009 18:28:40 +0000 (20:28 +0200)]
Updated Spanish translation

16 years agoUpdated Spanish translation
Jorge González [Mon, 20 Jul 2009 18:27:43 +0000 (20:27 +0200)]
Updated Spanish translation

16 years agoUpdated Spanish translation
Jorge González [Mon, 20 Jul 2009 18:19:09 +0000 (20:19 +0200)]
Updated Spanish translation

16 years agoMicrooptimization in interactive search handling
Paolo Borelli [Sat, 18 Jul 2009 10:28:05 +0000 (12:28 +0200)]
Microoptimization in interactive search handling

16 years agoBug 588943 – set correct selection before emitting cursor-changed when searching
Paolo Borelli [Sat, 18 Jul 2009 11:14:07 +0000 (13:14 +0200)]
Bug 588943 – set correct selection before emitting cursor-changed when searching

Make sure the correct selection is set when emitting cursor-changed
during an interactive search

16 years agog_strdup_print does not exist, the function is g_strdup_printf.
Xan Lopez [Mon, 20 Jul 2009 06:58:22 +0000 (09:58 +0300)]
g_strdup_print does not exist, the function is g_strdup_printf.

16 years agoRemove markup from translatable strings
Matthias Clasen [Mon, 20 Jul 2009 05:10:52 +0000 (01:10 -0400)]
Remove markup from translatable strings

Pointed out in bug 588964. String change !

16 years agoRemove a duplicate include.
Matthias Clasen [Mon, 20 Jul 2009 04:31:20 +0000 (00:31 -0400)]
Remove a duplicate include.

This was pointed out in bug 588897.

16 years agoFix a typo in the startup-id property definition
Matthias Clasen [Mon, 20 Jul 2009 03:46:53 +0000 (23:46 -0400)]
Fix a typo in the startup-id property definition

As well as some new GtkPrintOperation properties, which were not
correctly set up. This was noticed in bug 588958.

16 years agoAdd a translator comment
Matthias Clasen [Mon, 20 Jul 2009 03:21:52 +0000 (23:21 -0400)]
Add a translator comment

This fixes bug 589035.

16 years agoExit remove_child_area when region is empty
Alexander Larsson [Sun, 19 Jul 2009 20:36:43 +0000 (22:36 +0200)]
Exit remove_child_area when region is empty

When the region is empty we can return early, because there
is no more area to remove. This happens often for children
of scrolled windows (i.e. things that are clipped out.

16 years agoOptimize remove_child_area for children outside region
Alexander Larsson [Sun, 19 Jul 2009 20:35:25 +0000 (22:35 +0200)]
Optimize remove_child_area for children outside region

If a child is totally outside the current region, bail early instead
of doing costly calculations to subtract the child region.

16 years agoUpdated Spanish translation
Jorge González [Sun, 19 Jul 2009 16:45:41 +0000 (18:45 +0200)]
Updated Spanish translation

16 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Sun, 19 Jul 2009 06:02:49 +0000 (13:02 +0700)]
Updated Thai translation.

16 years agoFix read of non-initialized clip_region
Alexander Larsson [Sat, 18 Jul 2009 19:56:03 +0000 (21:56 +0200)]
Fix read of non-initialized clip_region

Foreign children are always viewable but may not have a viewable
parent, so ensure we don't read the parent for them.

16 years agoDon't read non-initialized clip region
Alexander Larsson [Sat, 18 Jul 2009 19:55:17 +0000 (21:55 +0200)]
Don't read non-initialized clip region

The clip region is only initialized (and needed) for viewable windows.

16 years agoOnly handle viewable windows in collect_native_child_region
Alexander Larsson [Sat, 18 Jul 2009 19:53:15 +0000 (21:53 +0200)]
Only handle viewable windows in collect_native_child_region

There is no need to handle non-viewable windows and additionally
they may not have the clip region set yet.

16 years agoOnly apply clip_region shape for viewable windows
Alexander Larsson [Sat, 18 Jul 2009 19:51:11 +0000 (21:51 +0200)]
Only apply clip_region shape for viewable windows

This fixes a problem where the clip region is not yet calculated

16 years agoOnly calculate clipping regions for viewable windows
Alexander Larsson [Sat, 18 Jul 2009 18:52:30 +0000 (20:52 +0200)]
Only calculate clipping regions for viewable windows

16 years agoCheck for viewable to avoid doing work instead of mapped
Alexander Larsson [Sat, 18 Jul 2009 18:37:19 +0000 (20:37 +0200)]
Check for viewable to avoid doing work instead of mapped

This is now cheap and allows us to avoid more work.

16 years agoTrack viewable for GdkWindow
Alexander Larsson [Sat, 18 Jul 2009 18:29:50 +0000 (20:29 +0200)]
Track viewable for GdkWindow

16 years agoUpdated French translation
Claude Paroz [Sat, 18 Jul 2009 18:45:09 +0000 (20:45 +0200)]
Updated French translation

Contributed by Laurent Coudeur and Claude Paroz.

16 years agoGDK_WINDOW_TYPE does a runtime typecheck, don't call it unnecessary
Alexander Larsson [Sat, 18 Jul 2009 13:04:06 +0000 (15:04 +0200)]
GDK_WINDOW_TYPE does a runtime typecheck, don't call it unnecessary

Looking at a profile the typecheck from GDK_WINDOW_TYPE stood out quite
a bit, which is fixed by not using it unnecessarily.

16 years agoUpdated Spanish translation
Jorge González [Sat, 18 Jul 2009 12:40:07 +0000 (14:40 +0200)]
Updated Spanish translation

16 years agoUpdated Spanish translation
Jorge González [Sat, 18 Jul 2009 11:53:50 +0000 (13:53 +0200)]
Updated Spanish translation

16 years agoUse perl to make gtkalias.h without warnings
Hans Breuer [Sat, 18 Jul 2009 11:31:51 +0000 (13:31 +0200)]
Use perl to make gtkalias.h without warnings

16 years agoBug #588398 - Leak with testgtk::preview_(color|gray) and more
Hans Breuer [Sat, 18 Jul 2009 11:08:13 +0000 (13:08 +0200)]
Bug #588398 - Leak with testgtk::preview_(color|gray) and more

Revert to gdk_win32_ref_cairo_surface() implementation from gtk-2-16
and make _gdk_windowing_create_cairo_surface() simply delegate to it.